QuickTime 3 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Color Tint filter

kColorTintImageFilterType ('tint')

The color tint filter converts its source into greyscale, then applies a light and a dark color to the image. The light color replaces the white in the greyscale image, and the dark color replaces the black. This filter also includes brightness and contrast controls. The end result is a tinted duochrome version of the source image.

You can use this filter to, for example, apply a sepia tone to a source.

Example:

The color tint filter takes a maximum of one source and has four parameters

Parameters

Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see "Adding Video Effects to a QuickTime Movie"

Name

Code

QTAtom Type

Description

Tint

`tint'

kParameterTypeDataEnum

1 = Black and White

2 = X-Ray

3 = Sepia

4 = Cobalt

0 = dividing line for pop up

100 = custom, in which case the other parameters take effect.

Dark color

'back'

kParameterTypeDataRGBValue

Can be a tween

The color to use to replace the black of the greyscale image.

Light color

'fore'

kParameterTypeDataRGBValue

Can be a tween

The color to use to replace the white of the greyscale image.

Brightness

'brig'

kParameterTypeDataLong

Can be a tween

The amount to adjust the brightness of the source by, ranging from -255 (all colors are replaced with black) to 255 (all colors are replaced with white). A value of 0 will leave the brightness unchanged.

Contrast

'cont'

kParameterTypeDataLong

Can be a tween

The amount to adjust the contrast of the source by, ranging from -255 (minimum contrast) to 255 (maximum contrast). A value of 0 will leave the contrast unchanged.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |